package nancal.mp.db.mongo.entity.admin

import nbcp.base.db.IdNamePath
import nbcp.base.db.annotation.Cn
import nbcp.base.db.annotation.DbEntityGroup
import nbcp.base.model.BaseMarkEntity
import org.springframework.data.mongodb.core.mapping.Document

@Cn("权限页面按钮")
@Document
@DbEntityGroup("admin")
data class AdminPermissionPageAction(
        @Cn("按钮名称")
        var name: String = "",
        @Cn("动作定义")
        var action: String = "",

        @Cn("页面")
        var page: IdNamePath = IdNamePath()
) : BaseMarkEntity()